

from django.conf import settings
from django.core.mail import send_mail
# 1.添加django项目根路径
from celery_task.celery import app
from django.utils import timezone


@app.task
def test(a,b):
    return a+b
def test2(a,b):
    return a*b